

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'empresa-form-user',
	'enableAjaxValidation'=>false,
)); ?>


<div class="panel panel-primary">
<div class="panel-heading">
   <strong>Editar  datos de la empresa </strong>
</div>

 <div class="panel-body">
 
 

	<p class="note">Los campos con: <span class="required">*</span> son requeridos.</p>

	<?php echo $form->errorSummary($model); ?>
	
	
	

	<div class="row">	<div class="col-md-7">
	
	<div class="panel panel-primary">
			<div class="panel-heading">
				 <h3 class="panel-title"><span class="glyphicon glyphicon-book"></span>&nbsp;&nbsp;Datos </h3>
	
			</div>
	<div class="panel-body">
	
	
		<div class="form-group">
		<?php echo $form->labelEx($model,'NOMBRE_RAZON_SOCIAL'); ?>
        <?php echo $form->textField($model,'NOMBRE_RAZON_SOCIAL',array('class'=>'form-control', 'size'=>60,'maxlength'=>300, 'placeholder'=>' ')); ?>
				<?php echo $form->error($model,'NOMBRE_RAZON_SOCIAL'); ?>
	</div>

	
	
		<div class="form-group">
	<?php echo $form->labelEx($model,'RFC'); ?>
    <?php echo $form->textField($model,'RFC',array('class'=>'form-control', 'size'=>60,'maxlength'=>300, 'placeholder'=>' ')); ?>
     <?php echo $form->error($model,'RFC',array('class'=>'text-danger')); ?>	
	</div>
	
	

	<div class="form-group">
		<?php echo $form->labelEx($model,'NSS'); ?>
    <?php echo $form->textField($model,'NSS',array('class'=>'form-control', 'size'=>60,'maxlength'=>300, 'placeholder'=>' ')); ?>
				<?php echo $form->error($model,'NSS'); ?>
	</div>

	<div class="form-group">
		<?php echo $form->labelEx($model,'CURP'); ?>
    <?php echo $form->textField($model,'CURP',array('class'=>'form-control', 'size'=>60,'maxlength'=>300, 'placeholder'=>' ')); ?>
				<?php echo $form->error($model,'CURP'); ?>
	</div>

	<div class="form-group">
		<?php echo $form->labelEx($model,'MORAL'); ?>
       <?php echo $form->textField($model,'MORAL',array('class'=>'form-control', 'size'=>60,'maxlength'=>300, 'placeholder'=>' ')); ?>
		<?php echo $form->error($model,'MORAL'); ?>
	</div>

	<div class="form-group">
		<?php echo $form->labelEx($model,'CALLE'); ?>
        <?php echo $form->textField($model,'CALLE',array('class'=>'form-control', 'size'=>60,'maxlength'=>300, 'placeholder'=>' ')); ?>
				<?php echo $form->error($model,'CALLE'); ?>
	</div>

	<div class="form-group">
		<?php echo $form->labelEx($model,'NUMERO_EXTERIOR'); ?>
        <?php echo $form->textField($model,'NUMERO_EXTERIOR',array('class'=>'form-control', 'size'=>60,'maxlength'=>300, 'placeholder'=>' ')); ?>
		<?php echo $form->error($model,'NUMERO_EXTERIOR'); ?>
	</div>

	<div class="form-group">
		<?php echo $form->labelEx($model,'NUMERO_INTERIOR'); ?>
        <?php echo $form->textField($model,'NUMERO_INTERIOR',array('class'=>'form-control', 'size'=>60,'maxlength'=>300, 'placeholder'=>' ')); ?>
				<?php echo $form->error($model,'NUMERO_INTERIOR'); ?>
	</div>

<div class="form-group">
		<?php echo $form->labelEx($model,'COLONIA'); ?>
        <?php echo $form->textField($model,'COLONIA',array('class'=>'form-control', 'size'=>60,'maxlength'=>300, 'placeholder'=>' ')); ?>
				<?php echo $form->error($model,'COLONIA'); ?>
	</div>

	<div class="form-group">
		<?php echo $form->labelEx($model,'ENTIDAD_FEDERATIVA'); ?>
        <?php echo $form->textField($model,'ENTIDAD_FEDERATIVA',array('class'=>'form-control', 'size'=>60,'maxlength'=>300, 'placeholder'=>' ')); ?>
				<?php echo $form->error($model,'ENTIDAD_FEDERATIVA'); ?>
	</div>

	<div class="form-group">
		<?php echo $form->labelEx($model,'LOCALIDAD'); ?>
        <?php echo $form->textField($model,'LOCALIDAD',array('class'=>'form-control', 'size'=>60,'maxlength'=>300, 'placeholder'=>' ')); ?>
				<?php echo $form->error($model,'LOCALIDAD'); ?>
	</div>

<div class="form-group">
		<?php echo $form->labelEx($model,'TELEFONO'); ?>
        <?php echo $form->textField($model,'TELEFONO',array('class'=>'form-control', 'size'=>60,'maxlength'=>300, 'placeholder'=>' ')); ?>
				<?php echo $form->error($model,'TELEFONO'); ?>
	</div>

	<div class="form-group">
		<?php echo $form->labelEx($model,'MUNICIPIO_DELEGACION'); ?>
        <?php echo $form->textField($model,'MUNICIPIO_DELEGACION',array('class'=>'form-control', 'size'=>60,'maxlength'=>300, 'placeholder'=>' ')); ?>
				<?php echo $form->error($model,'MUNICIPIO_DELEGACION'); ?>
	</div>

	<div class="form-group">
		<?php echo $form->labelEx($model,'GIRO_PRINCIPAL'); ?>
        <?php echo $form->textField($model,'GIRO_PRINCIPAL',array('class'=>'form-control', 'size'=>60,'maxlength'=>300, 'placeholder'=>' ')); ?>
				<?php echo $form->error($model,'GIRO_PRINCIPAL'); ?>
	</div>

	<div class="form-group">
		<?php echo $form->labelEx($model,'NUMERO_TRABAJADORES'); ?>
        <?php echo $form->textField($model,'NUMERO_TRABAJADORES',array('class'=>'form-control', 'size'=>60,'maxlength'=>300, 'placeholder'=>' ')); ?>
				<?php echo $form->error($model,'NUMERO_TRABAJADORES'); ?>
	</div>

	<div class="form-group">
		<?php echo $form->labelEx($model,'CODIGO_POSTAL'); ?>
        <?php echo $form->textField($model,'CODIGO_POSTAL',array('class'=>'form-control', 'size'=>60,'maxlength'=>300, 'placeholder'=>' ')); ?>
		<?php echo $form->error($model,'CODIGO_POSTAL'); ?>
	</div>

<div class="form-group">
		<?php echo $form->labelEx($model,'FAX'); ?>
        <?php echo $form->textField($model,'FAX',array('class'=>'form-control', 'size'=>60,'maxlength'=>300, 'placeholder'=>' ')); ?>
				<?php echo $form->error($model,'FAX'); ?>
	</div>

	<div class="form-group">
		<?php echo $form->labelEx($model,'CORREO_ELECTRONICO'); ?>
        <?php echo $form->textField($model,'CORREO_ELECTRONICO',array('class'=>'form-control', 'size'=>60,'maxlength'=>300, 'placeholder'=>' ')); ?>
				<?php echo $form->error($model,'CORREO_ELECTRONICO'); ?>
	</div>
<!--  
<div class="form-group">
		<?php echo $form->labelEx($model,'ACTIVO'); ?>
		<?php echo $form->textField($model,'ACTIVO'); ?>
		<?php echo $form->error($model,'ACTIVO'); ?>
	</div>

	
	-->
	



  <div>
	
     	<?php echo CHtml::submitButton(UserModule::t("Aceptar"), array('class'=>"btn btn-primary ")); ?>
   
      	</div>             
                      </div>                      
                                            
                                            </div>
                                            </div>
                                            </div>
 </div>
</div><!-- form -->
<?php $this->endWidget(); ?>